<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=
    , initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
        html,
        body {
            padding: 0;
            margin: 0 auto;
            display: flex;
            justify-content: center;
            align-items: center;
            align-content: center;
        }

        * {
            box-sizing: border-box;
        }

        .container {
            width: 1210px;
            height: 610px;
            padding: 5px;
            background-color: #000000;
            align-content: center;
            align-items: center;
            display: flex;
            flex-wrap: wrap;
            margin-top: 10px;
        }

        .each {
            border: 1px #880407 solid;
            width: 25%;
            height: 300px;
            position: relative;
        }

        .each_w {
            width: 100%;
            height: 50%;
            border-bottom: 2px dashed #880407;
            position: absolute;
            top: 0;
            left: 0;
        }

        .each_h {
            width: 50%;
            height: 100%;
            border-right: 2px dashed #880407;
            position: absolute;
            top: 0;
            left: 0;
        }
    </style>
</head>

<body>

    <div class="container">
        <div class="each">
            <div class="each_w"></div>
            <div class="each_h"></div>
        </div>
        <div class="each">
            <div class="each_w"></div>
            <div class="each_h"></div>
        </div>
        <div class="each">
            <div class="each_w"></div>
            <div class="each_h"></div>
        </div>
        <div class="each">
            <div class="each_w"></div>
            <div class="each_h"></div>
        </div>
        <div class="each">
            <div class="each_w"></div>
            <div class="each_h"></div>
        </div>
        <div class="each">
            <div class="each_w"></div>
            <div class="each_h"></div>
        </div>
        <div class="each">
            <div class="each_w"></div>
            <div class="each_h"></div>
        </div>
        <div class="each">
            <div class="each_w"></div>
            <div class="each_h"></div>
        </div>
    </div>

</body>

</html>